#! /bin/bash

nasm -I ../boot/include/ ../boot/mbr.S -o ../output/mbr.bin

sudo dd if=../output/mbr.bin of=/home/jianglin/Software/bochs-2.6.2/hd60M.img bs=512 count=1 conv=notrunc

sudo /home/jianglin/Software/bochs-2.6.2/bin/bochs -f /home/jianglin/Software/bochs-2.6.2/bin/bochsrc.disk
